package com.qk.common.enums;

public enum ParamEnum implements Code {
    PARAM_ERROR(10001,"参数错误"),
    LOGIN_PASSWORD_ERROR(10002,"密码错误"),
    LOGIN_USERNAME_ERROR(10003,"用户名错误"),
    USER_STATUS_ERROR(10004,"用户已被停用");

    private  final int code;
    private  final String message;

    ParamEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
